package com.TestDefineSpringLabel;


import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * 主要用来注册BeanDefinition解析器
 */
public class HeroNamespaceHandler extends NamespaceHandlerSupport {

	public void init() {
		registerBeanDefinitionParser("elementname1", new HeroBeanDefinitionParser(Hero.class));

	}

}


